<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/4/9
 * Time: 13:43
 */

namespace app\index\controller;


use think\Controller;

class PartyBuilding extends GetSlides
{
    public function party_build()
    {
        $this->get_slider();//返回banner
        $cates = [
            ['id' => '107a6665-dae1-4b14-987f-37560debfa05', 'page_limit' => 6], //中央精神
            ['id' => '71bae2d9-0b4e-4819-aee9-44761cec4cf4', 'page_limit' => 9], //工作动态
            ['id' => 'f19bcda8-3f9e-4b9b-8428-4319745bb6a6', 'page_limit' => 3], //职工之家
            ['id' => 'ffef06e1-6745-4bbf-a35c-052252809ae7', 'page_limit' => 3], //专题活动
            ['id' => '0428510d-aa9f-45b5-b7ad-97ff092b8db5', 'page_limit' => 6], //学习心得
            ['id' => 'a90c0ae3-08da-464a-a886-876f443068f7', 'page_limit' => 2], //廉洁党建
        ];

        $A = new Api();

        $data = [];
        card_info_special_page($A, $cates, $data);
        $GLOBALS['dar1'] = 'dtjs';
        $this->assign($data);
        $this->assign("web_title", "党团建设");
        return view();
    }
}
